package com.yami.shop.consign.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.bean.vo.ConsignNumVO;
import com.yami.shop.bean.vo.ConsignSituationVO;
import com.yami.shop.consign.common.model.ConsignSituation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ConsignSituationMapper extends BaseMapper<ConsignSituation> {
    
    List<ConsignSituationVO> consignList(@Param("param") ConsignSituation consignSituation);

    /**
     * 查询流通总数 和发行数量
     *
     */
    ConsignNumVO getNumByproductId(@Param("productId") Integer productId);
}
